package com.hdoit.ares.logical.advertisement.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.tennetcn.common.dao.base.impl.SuperService;
import com.tennetcn.common.message.PagerModel;
import com.hdoit.ares.logical.advertisement.dao.IAdvertisementLocationDao;
import com.hdoit.ares.logical.advertisement.model.AdvertisementLocation;
import com.hdoit.ares.logical.advertisement.service.IAdvertisementLocationService;
import com.hdoit.ares.logical.viewmodel.advertisement.AdvertisementLocationSearch;
/**
 * @author      yujinhui
 * @email       
 * @createtime  2018年03月13日 19:03:07
 * @comment
 */
@Component
public class AdvertisementLocationServiceImpl extends SuperService<AdvertisementLocation> implements IAdvertisementLocationService{
	private IAdvertisementLocationDao advertisementLocationDao;
	
	public IAdvertisementLocationDao getAdvertisementLocationDao() {
		return advertisementLocationDao;
	}
	@Resource
	public void setAdvertisementLocationDao(IAdvertisementLocationDao advertisementLocationDao) {
		this.advertisementLocationDao = advertisementLocationDao;
	}

	@Override
	public List<AdvertisementLocation> queryListBySearch(AdvertisementLocationSearch search,
			PagerModel pagerModel) {
		return advertisementLocationDao.queryListBySearch(search,pagerModel);
	}

	@Override
	public List<AdvertisementLocation> queryList(AdvertisementLocationSearch search) {
		return advertisementLocationDao.queryList(search);
	}

	@Override
	public int queryCount(AdvertisementLocationSearch search) {
		return advertisementLocationDao.queryCount(search);
	}

}